let loginBut = document.querySelectorAll('.login-control-but');

let loginContent = document.querySelectorAll('.login-content');

for(let i=0;i<loginBut.length;i++){
    loginBut[i].addEventListener('click',function(){
        for(let j=0;j<loginBut.length;j++){
            loginBut[j].className = 'fl login-control-but';
            loginContent[j].className = 'fl login-content disnone';
        }
        loginBut[i].className = 'fl login-control-but login-active';
            loginContent[i].className = 'fl login-content show';
    })
}













































